import { get, post } from "../utils/request.js"
//const baseHost='http://172.16.7.76:81'
//const baseHost='api'
export function apiGetCarousel(current,pageSize){
	//const path=baseHost+"/home/banner/getAllBanner/"+current+"/"+pageSize
	const path="/home/banner/getAllBanner/"+current+"/"+pageSize
	return post({
		url:path
	})
	
} 


export function apiGetPopularCourse(data){
	return post({
		url:"/core/course/getPopularCourse",
		data:data	
	})
}


export function apiGetPopularVideo(data){
	return post({
		url:"/core/video/getPopularVideo",
		data:data	
	})
	
}


export function apiGetZone(data){
	return post({
		url:"/home/zone/getZones",
		data:data	
	})
}


export function apiGetGoldLecturer(data){
	return post({
		url:"/teacher/selectGoldLecturer",
		data:data	
	})
}



     

	
